package com.app.service;

import com.app.common.Result;
import com.app.model.IntegralRecordModel;
import com.app.vo.IntegralRecordVo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * 积分记录
 * @author 16693103420
 * @since 2024-01-25
 */
public interface IntegralRecordService extends IService<IntegralRecordModel> {

    //用户查询积分使用记录
    IntegralRecordVo getUserIntegralRecordList(Integer page, Integer limit, Integer userId);

    /**
     * 积分排行榜
     * @return
     */
    Result integralRanking();
}
